package com.pp.service.impl;

import com.pp.dao.MenuMapper;
import com.pp.model.Menu;
import com.pp.service.MenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MenuServiceImpl  implements MenuService {

    @Autowired
    private MenuMapper menuMapper;
    @Override
    public List<Menu> getMenuList() {
        return menuMapper.getMenuList();
    }
}
